package com.zhl.oracle;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.util.StringUtils;

/**
 * @program: demos
 * @description:
 * @author: 刘振华
 * @create: 2020-10-11 16:05
 **/
@Data
public class CommentEo {
	@ExcelProperty("attr_name")
	private String field;

	@ExcelProperty("attr_alias")
	private String comment;

	@ExcelProperty("list")
	private String list;

	public String getComments(){
		String tlist = StringUtils.isEmpty(list)?"":":"+list;
		return comment+tlist;
	}

}
